package com.aaa.inbound.service;

import com.aaa.entity.inbound.Purchase;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aaa
 * @since 2020-11-25
 */
public interface PurchaseService extends IService<Purchase> {

    Page<Purchase> searchPurchase(Integer page, Integer limit, Purchase purchase);

    //供应商下拉查询
    List<Map> findSupplier(Long warehouseid);
}
